package com.example.secondhandspringboot.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.secondhandspringboot.domain.entity.RequiredGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.secondhandspringboot.domain.vo.RequiredGoodsVO;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 周在林
 * @since 2024-04-25
 */
public interface RequiredGoodsMapper extends BaseMapper<RequiredGoods> {

    Page<RequiredGoodsVO> getRequiredGoods(Long schoolId, Page<RequiredGoodsVO> page1);

    Page<RequiredGoodsVO> getMyPushRequiredGoods(Long currentId, Page<RequiredGoodsVO> page1);
}
